package net.csdn.business.common.domain.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author wanghang
 * @version 1.0
 * @date 2022/9/20 17:27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ExtIdpConnVo implements Serializable {

    private Integer statusCode;
    private String message;
    private List<ExtIdp> data;


    @Data
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class ExtIdp {
        private String id;
        private String message;
        private String type;
        private String extIdpId;
        private String logo;
        private String identifier;
        private String displayName;
        private String loginOnly;
        private String associationMode;
        private List<String> challengeBindingMethods;
    }
}
